home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
WINDOWS
/
WGREP12.ARJ
/
GREP.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-01
|
783b
|
34 lines
// GREP.DLL header file
// Written by: Chris Roberts
// Date: 03/11/92
// GrepCompile Error Codes
#define GCOMP_NO_ERROR 0
#define GCOMP_ILLEGAL_OCCURANCE_OP 1
#define GCOMP_UNKNOWN_TYPE 2
#define GCOMP_NO_TYPE 3
#define GCOMP_BAD_CLASS_TERMINATION 4
#define GCOMP_UNTERMINATED_CLASS 5
#define GCOMP_CLASS_TOO_LARGE 6
#define GCOMP_EMPTY_CLASS 7
#ifdef __BCPLUSPLUS__
extern "C"
{
#endif
WORD _export FAR PASCAL
GrepVersion( void );
int _export FAR PASCAL
CompileGrep( char *GrepString, char *CompiledGrep, char IgnoreCase );
// Grep Return Code:
// 0 = No match
// >= 1 = Position of match
int _export FAR PASCAL
Grep( char *StringToSearch, char *CompiledGrep );
#ifdef __BCPLUSPLUS__
} // extern "C"
#endif